#id_div_loading {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    vertical-align: middle;
    display: none;
    background-color: rgba(125,125,125,0.5);
}

#id_div_loading > div {
    background-color: #67CF22;
    height: 2.5rem;
    width: 0.15rem;
    display: inline-block;
    margin-right: 0.1rem;
    position: relative;
    top:30%;

    -webkit-animation: stretchdelay 1.2s infinite ease-in-out;
    animation: stretchdelay 1.2s infinite ease-in-out;
}

#id_div_loading .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

#id_div_loading .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

#id_div_loading .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

#id_div_loading .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes stretchdelay {
    0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
    20% { -webkit-transform: scaleY(1.0) }
}

@keyframes stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }  20% {
           transform: scaleY(1.0);
           -webkit-transform: scaleY(1.0);
       }
}